package com.up.vms.application.constants;

/**
 * 功能说明：<br>
 * 模块名称：lottery<br>
 * 功能描述：edu<br>
 * 文件名称: com.jiasai.constants<br>
 * 系统名称：彩票<br>
 * 软件著作权：-[.com]版权所有<br>
 * 开发人员：icelove(lujun) <br>
 * 开发时间：2019-01-2019/1/23 11:14<br>
 * 系统版本：1.0.0<br>
 */
public interface Constants {
    public final static String RET = "ret";
    public final static String MSG = "msg";
    public final static int ZERO = 0;
    public final static double ZERO_DOUBLE = 0D;
    public final static int ONE = 1;
    public final static int YES = 1;
    public final static int NO = 0;
    public final static Integer objYes = YES;
    public final static Integer objNo = NO;
    public final static Integer objTwo = 2;
    public final static boolean TRUE = true;
    public final static boolean FALSE = false;
    public final static String ADMIN_LOG_KEY = "_ADMIN_LOG_KEY";
    public final static String ADMIN_LOG_USER_ID_KEY = "_ADMIN_USERID_KEY";
    public final static String ADMIN_SESSION_KEY = "ADMIN_PERTECH";
    public final static String ADMIN_DEFAULT_PASSWORD = "123-123";//后台新建用户默认密码
    public final static String USER_SESSION_KEY = "USER_PERTECH";
    //2：取消订单
    final static int ORDER_STATUS_CANCLE_ORDER = 2;
    //10:等待支付
    final static int ORDER_STATUS_PAY_WAITINT = 10;
    //19:支付成功
    final static int ORDER_STATUS_PAY_SUCCESS = 19;
    //20:等待审核
    final static int ORDER_STATUS_REFUND_VER_REVIEW = 20;
    //27:拒绝退款
    final static int ORDER_STATUS_REFUND_VER_REJECT = 27;
    //29:审核通过
    final static int ORDER_STATUS_REFUND_VER_PASS = 29;
    //30:退款中
    final static int ORDER_STATUS_REFUND_DOING = 30;
    //31:退款失败
    final static int ORDER_STATUS_REFUND_FAIL = 31;
    //39:退款成功
    final static int ORDER_STATUS_REFUND_SUCCESS = 39;

    //订单删除
    //管理员删除订单
    final static int ADMIN_ORDER_DELETED = 2;
    //用户删除订单
    final static int USER_ORDER_DELETED = 3;
    //订单保存
    final static int ORDER_NOT_DELETED = 1;


    int ADMIN_RANK_LEVEN =          1;

    //系统模块
    String SYSTEM_MODULE = "course:课程管理,module:业务模块,classes:教室管理,teacher:财务管理,organization:组织机构,stats:数据统计,sys:系统管理,finance:财务管理,pay:支付管理,base:基础模块";

    //管理员账号使用
    Integer ADMIN_COUNT_USE =       1;
    //管理员账号冻结
    Integer ADMIN_COUNT_NOT_USE =   0;

    //课程类型-对外
    Integer COURSE_TYPE_FOR_OUT =   1;
    //课程类型-台账
    Integer COURSE_TYPE_FOR_IN =    2;
    //下拉条件
    Integer DROPDOWN_IS =           1;
    //非下拉条件(null与0都是非下拉)
    Integer DROPDOWN_NOT_IS =       0;

    //总会会机构等级（依据unionNo判断）
    Integer UNIONRANK_ZGH =         1;
    //教育机构工会等级
    Integer UNIONRANK_EDU_FACTORY = 2;

    //总工会在本系统的orgId
    Integer HIGHT_ORG_ID        =0;


    //模块保存
    Integer MODULE_SAVE     =1;
    //模块删除
    Integer MODULE_DELETE   =2;
    //模块启用
    Integer MODULE_USE      =1;
    //模块隐藏
    Integer MODULE_HIDE     =2;

    //班级保存
    Integer CLASSES_SAVE    =1;
    //班级删除
    Integer CLASSES_DELETE  =2;
    //班级启用
    Integer CLASSES_USE     =1;
    //班级隐藏
    Integer CLASSES_HIDE    =2;
    //课程保存
    Integer COURSE_SAVE     =1;
    //课程删除
    Integer COURSE_DELETE   =2;
    //老师保存
    Integer TEACHER_SAVE    =1;
    //老师删除
    Integer TEACHER_DELETE  =2;


    //课程进行状态：报名未开始
    Integer BEFORE_REGIST_START     =1;
    //课程进行状态：报名中
    Integer BEFORE_REGIST_END       =2;
    //课程进行状态：报名结束
    Integer REGIST_END              =3;
    //课程进行状态：上课中
    Integer GOING_CLASSES           =4;
    //课程进行状态：上课结束
    Integer CLASSES_END             =5;

    //暂无名额
    Integer CLASSES_NOT_SURPULS     =0;


    //性别:男
    Integer SEX_MAN                 =1;
    //性别:女
    Integer SEX_WOMAN               =2;

    //课程限制 0不限制会员 1限制会员用户
    Integer VIP_NOT_LIMIT           =0;
    Integer VIP_LIMIT               =1;

    // 0不限制工会 1限制会员辖区工会
    String UNION_NOT_LIMIT          ="0";

    //用户类型 G会员 N游客
    String USER_TYPE_VIP            ="G";
    String USER_TYPE_GUEST          ="N";

    //用户级别
    //普通用户
    int DOMESTIC_USER               =0;
    //vip用户用户
    int VIP_USER                    =1;
    //svip用户
    int SVIP_USER                   =2;


}
